import { View, Text, Image } from '@tarojs/components'

import './index.less'

const WowJumpBtn = props => {
  return (
    <View className='jump-btn' onClick={() => props.onClick && props.onClick()}>
      <Text>{props.name}</Text>
      <Image className='arrow' src={require('../../static/images/arrow-right.png')} />
    </View>
  )
}

export default WowJumpBtn